home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / StandardFileIcons / Makefile < prev    next >
Encoding:
Makefile  |  1994-09-23  |  1.2 KB  |  31 lines  |  [TEXT/MPS ]

  1. #     Apple Macintosh Developer Technical Support
  2. #     StandardFileIcons: A sample control panel changing behavior of StandardFile.
  3. #     by Brian Bechtel, Apple Developer Technical Support
  4. #     File:        Makefile
  5. #     Copyright © 1994 Apple Computer, Inc.
  6. #     All rights reserved.
  7. #     You may incorporate this sample code into your applications without
  8. #     restriction, though the sample code has been provided "AS IS" and the
  9. #     responsibility for its operation is 100% yours.  However, what you are
  10. #     not permitted to do is to redistribute the source as "DTS Sample Code"
  11. #     after having made changes. If you're going to re-distribute the source,
  12. #     we require that you make it clear in the source that the code was
  13. #     descended from Apple Sample Code, but that you've made changes.
  14.  
  15.  
  16. # The CDEV is composed of two parts, an INIT and a CDEV, plus resources.
  17.  
  18. StandardFileIcons ƒƒ    SFIconsInit.c.o ShowIcon7.c.o GestaltValue.o "{Libraries}"Interface.o "{Libraries}"Runtime.o
  19.     link -o {Targ} -rt INIT=31 -m main {Deps}
  20.  
  21. StandardFileIcons ƒƒ SFIcons.c.o GestaltValue.o "{Libraries}"Interface.o
  22.     link -o {Targ} -rt cdev=-4064 -m MAIN {Deps}
  23.  
  24. StandardFileIcons ƒƒ SFIcons.r
  25.     Rez -o {Targ} {Deps} -t cdev -c 'SFI#' -rd -append
  26.     SetFile {Targ} -a B